package com.api.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by PengJie.Dai on 2018/6/19.
 */
@FeignClient(name="TEST-SERVICE" )
public interface FeignClientService {

    @RequestMapping(value="/service",method = RequestMethod.GET)
    String service();


}
